﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using System.Data.Objects.DataClasses;
using System.Data.EntityClient;
using System.ComponentModel;
using System.Xml.Serialization;
using System.Runtime.Serialization;

namespace AudiPyme.DAL
{
    public partial class Amenazas : EntityObject
    {
        public Amenazas(String Amenaza, int IdTipoAmenaza):base()
        {
            this.Amenaza = Amenaza;
            this.IdTipoAmenaza = IdTipoAmenaza;
        }
        public Amenazas(): base()
        {

        }
        public override bool Equals(object obj)
        {
            if (obj == null || GetType() != obj.GetType())
                return false;
            Amenazas amenazaEquals = (Amenazas)obj;
            return Amenaza==amenazaEquals.Amenaza && IdTipoAmenaza==amenazaEquals.IdTipoAmenaza;
        }

    }
}
